cmake_minimum_required(VERSION 3.5.1)

project(AclJpegd)

add_definitions(-DENABLE_DVPP_INTERFACE)

include_directories(
        $ENV{INSTALL_DIR}/runtime/include/
        ../src
)

link_directories(
        $ENV{INSTALL_DIR}/lib64
)

add_executable(main
        ../src/sample_jpegd.cpp)

target_link_libraries(main ascendcl acl_dvpp)
